package jmind.core.test;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;

/**
 * @Author: xieweibo
 * @Date: 2018/6/7
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class Product {

    @XmlAttribute
    private String productName;
    @XmlAttribute
    private String productCode;

    @XmlElement
    private SubType subType;


    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public SubType getSubType() {
        return subType;
    }

    public void setSubType(SubType subType) {
        this.subType = subType;
    }
}
